ACLOCAL_AMFLAGS = -I m4
MAINTAINERCLEANFILES = Makefile.in
MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess config.h.in \
		       config.sub configure depcomp install-sh ltmain.sh \
		       missing config.rpath mkinstalldirs 
SUBDIRS = 

confdir = $(pkgdatadir)

INCLUDES = -I. \
         -I$(top_srcdir) \
	-Wall	\
	-Werror \
	-DTHEME_PATH=\"$(pkgdatadir)\"  \
	-DCONFIG_PATH=\"$(confdir)\"  \
	-DPACKAGE_NAME=\"@PACKAGE_NAME@\"  \
	@e_cflags@ \
        @id3tag_cflags@	\
        @gst_cflags@

applicationsdir = $(pkgdatadir)/../applications/

filesdir = $(pkgdatadir)

bin_PROGRAMS =mokoko

noinst_HEADERS =   	feature.h \
			mokoko_music_panel.h \
			list.h \
			collections.h \
			album.h \
			song.h \
			config.h \
                        playback.h \
			debug.h

mokoko_SOURCES = album.c \
		       mokoko_music_panel.c \
		       collections.c \
		       config.c \
		       feature.c \
		       song.c \
                       playback.c \
		       mokoko.c
		  
mokoko_LDADD = @e_libs@\
	       @id3tag_libs@ \
               @gst_libs@

files_BIN = mokoko

	     
EXTRA_DIST = $(files_BIN)

%.edj: %.edc
	$(EDJE_CC) $(EDJE_FLAGS) $< $@
	
clean-local:
	rm -rf *.edj *~
	
uninstall-hook:
	rm -rf $(datadir)


indent:
	astyle --style=linux -p -s4 -n --brackets=attach *.[ch]
